Operations-Contact: Dennis Krause for Test AG from 1030: Add
Operations Contact to Partner| name | value |
|---|---|
| operationsContactPerson | Dennis Krause |
HTTP GET "/api/hs/office/relations?relationType=OPERATIONS&name=Dennis+Krause" \
-H "Authorization: Bearer $HSADMINNG_JWT_BEARER" \
`# {` \
`# "sub" : "uuid<hsh-alex_superuser>"` \
`# }`
=> status: 200 OK
[ {
"uuid" : "3499fb04-ed89-4bf5-a3f0-d8c4cb79c258", // Operations-Contact: Dennis Krause for Test AG
"anchor" : {
"uuid" : "efe3662a-02d9-4fa9-a4f0-29dfd893fd78", // Person: Test AG
"personType" : "LEGAL_PERSON",
"tradeName" : "Test AG",
"salutation" : null,
"title" : null,
"givenName" : null,
"familyName" : null
},
"holder" : {
"uuid" : "ac02b0a6-d581-4fc4-8b6f-6c02d1057bd7", // Person: Dennis Krause
"personType" : "NATURAL_PERSON",
"tradeName" : null,
"salutation" : null,
"title" : null,
"givenName" : "Dennis",
"familyName" : "Krause"
},
"type" : "OPERATIONS",
"mark" : null,
"contact" : {
"uuid" : "b294d7b0-eaa9-457b-945d-d2d6ce722dd4", // Contact: Dennis Krause
"caption" : "Dennis Krause",
"postalAddress" : { },
"emailAddresses" : {
"main" : "dennis.krause@example.org"
},
"phoneNumbers" : {
"main" : "+49 9932 587741"
}
}
} ]
In production, data this query could result in multiple outputs. In that case, you have to find out which is the right one.
HTTP DELETE "/api/hs/office/relations/3499fb04-ed89-4bf5-a3f0-d8c4cb79c258" // Operations-Contact: Dennis Krause for Test AG \
-H "Authorization: Bearer $HSADMINNG_JWT_BEARER" \
`# {` \
`# "sub" : "uuid<hsh-alex_superuser>"` \
`# }`
=> status: 204 NO_CONTENT
HTTP GET "/api/hs/office/relations/3499fb04-ed89-4bf5-a3f0-d8c4cb79c258" // Operations-Contact: Dennis Krause for Test AG \
-H "Authorization: Bearer $HSADMINNG_JWT_BEARER" \
`# {` \
`# "sub" : "uuid<hsh-alex_superuser>"` \
`# }`
=> status: 404 NOT_FOUND
generated on 2026-08-10 04:42:23 for branch HEAD